-
Notifications
You must be signed in to change notification settings - Fork 23
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fix #1048 - The accuracy module testing, fixes and readme #1057
Conversation
curl http://localhost:5000/statistics | ||
``` | ||
|
||
The endpoint will return the accuracy of the model in JSON format. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We could provide a JSON example of the response with all the fields and also mention that the API returns multiple values not just accuracy(token_name, total_staked_yesterday, total_staked_today
), hence the statistics names.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ok I will bring an example JSON and mention about it
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I put the information to the "Usage" subtitle, under the json
file info
``` | ||
|
||
|
||
The script uses the `GQLDataFactory` to fetch the predictions. Be sure to provide the correct values for `st_timestr` in the `ppss.yaml` file to get the correct predictions. It needs to be at least `28 days ago` from the current date. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Change 'to get correct predictions' to 'to get the required data for the calculations'
|
||
## Usage | ||
|
||
The `app.py` script is used to calculate the accuracy of a model based on the predicted and true values. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
'to calculate the accuracy' -> 'to calculate the accuracy and other statistics'
[Accuracy Update]
I would move all the latest |
@kdetry as far as I can tell, this PR is to "fix" the Accuracy API w/ DuckDB and get the PR ready, but....
Please conclude your work here and get this PR ready to go so I can ready the DuckDB PR, before beginning work on 1001.. |
We're going to close this PR. Rather than trying to merge the whole duckdb PR, we're going to merge it in phases. I'll be looking at this PR to potentially completing the integration. Thank you! |
Fixes #1048
Changes proposed in this PR: